package com.zf.museum.service;

import com.zf.museum.bean.Result;
import com.zf.museum.model.Message;

import java.util.ArrayList;
import java.util.List;

public interface MessageService {

    Result addMessage(Message message);

    Result updateMessages(ArrayList<Message> messages);

    Result deleteById(Long id);

    List<Message> findAll();
}
